<template>
  <view>
    <view>123</view>
    <view>hello</view>
    <view>hello</view>
    <view>hello</view>
    <view>hello</view>
    <view>hello</view>
    <view>
      <!--      <component :is="dynamic"/>-->
    </view>
    <!--    <load-component></load-component>-->
    <view>dys</view>
    <view>

      <component :is="dynamic"/>
    </view>
  </view>
</template>

<script setup lang="ts">
import {defineAsyncComponent, onBeforeMount} from 'vue'

let dynamic = defineAsyncComponent(() => import('./LoadComponent.vue'))

// console.log(dynamic)
console.log(123)

onBeforeMount(() => {
  console.log('mounted111!')
})
</script>
